﻿<%@ Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProductInfo.Core.Models.ReleaseNoteEntry>" %>

	<% using (Html.BeginForm()) { %>
		<fieldset>
            <legend>Release Note Entry</legend>
            <div class="editor-label">
                <%= Html.LabelFor(model => model.ProductId) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.ProductId) %>
                <%= Html.ValidationMessageFor(model => model.ProductId) %>
            </div>
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Version) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Version) %>
                <%= Html.ValidationMessageFor(model => model.Version) %>
            </div>
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Detail) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Detail) %>
                <%= Html.ValidationMessageFor(model => model.Detail) %>
            </div> 
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Author) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Author) %>
                <%= Html.ValidationMessageFor(model => model.Author) %>
            </div>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>
    <% } %>